﻿using System.Collections.Generic;
using Framework.Poco;

namespace Framework.Mvc
{
    public class AgencyPagedViewModel : PagedListViewModel<Agency>
    {
        public AgencyPagedViewModel(IEnumerable<Agency> agencies, int currentPage, int pageSize, int total)
        {
            this.List = agencies;
            this.CurrentPage = currentPage;
            this.PageSize = pageSize;
            this.Total = total;
        }
    }
}